home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / comm / bbs / F123_DEV.lha / FAME_ASM.lha / FAMEDoor_ASM / include / FAMEDefine.i < prev    next >
Text File  |  1996-03-25  |  19KB  |  643 lines

  1. ;
  2. ; FAME Defines
  3. ;    
  4. ; $VER:FAMEDefine.i v0.23
  5. ;
  6.  
  7.     IFNDEF    FAME_FAMEDEFNE_I
  8. FAME_FAMEDEFINE_I SET 1
  9.  
  10.     IFNDEF    DOS_DOS_I
  11.     INCLUDE    "dos/dos.i"
  12.     ENDC
  13.  
  14.  
  15. ; FAMEAllocObject() types:
  16.  
  17. FOBJ_FAMEDoorMsg        EQU    1
  18. FOBJ_FAMEMailHeader        EQU    2
  19. FOBJ_FAMEMailStat        EQU    3
  20. FOBJ_FAMEToolPortMsg        EQU    4
  21. FOBJ_FAMECoProcessMsg        EQU    5
  22. FOBJ_FAMEExternEditor        EQU    6
  23. FOBJ_FAMEToolNotifyMsg        EQU    7
  24.  
  25.  
  26. ; UL/DLSTAT Mode defines
  27.  
  28. ULSTAT_UPLOAD_MSGBASE        EQU    -1    ; File attach to message
  29. ULSTAT_UPLOAD_UL        EQU    0    ; Upload local
  30. ULSTAT_UPLOAD_UG        EQU    1    ; Upload global
  31. ULSTAT_UPLOAD_U            EQU    2    ; Upload userdata depending
  32. ULSTAT_UPLOAD_RZ        EQU    3    ; Upload via Z-Modem identifying
  33. ULSTAT_UPLOAD_PARTUL_RESUME    EQU    4    ; Resuming a part upload
  34. ULSTAT_UPLOAD_DOOR        EQU    5    ; Door uses upload command
  35. NORMAL_DL_XFER            EQU    6    ; Normal download
  36. ASL_DL_XFER            EQU    7    ; Download from ASL req.
  37. DOOR_DL_NORMAL            EQU    8    ; Normal Door download
  38. DOOR_DL_LIST            EQU    9    ; Door download from list
  39. DOOR_DL_MSG            EQU    10    ; Download of msg files
  40.  
  41.  
  42. ; RawKey Codes
  43.  
  44. HELP_CODE            EQU    95
  45. RAMIGA_CODE            EQU    103
  46. CURSOR_UP_CODE            EQU    76
  47. CURSOR_DOWN_CODE        EQU    77
  48. CURSOR_RIGHT_CODE        EQU    78
  49. CURSOR_LEFT_CODE        EQU    79
  50. F01_CODE            EQU    80
  51. F02_CODE            EQU    81
  52. F03_CODE            EQU    82
  53. F04_CODE            EQU    83
  54. F05_CODE            EQU    84
  55. F06_CODE            EQU    85
  56. F07_CODE            EQU    86
  57. F08_CODE            EQU    87
  58. F09_CODE            EQU    88
  59. F10_CODE            EQU    89
  60. LSHIFT_CODE            EQU    96
  61. RSHIFT_CODE            EQU    97
  62.  
  63. ; Console key codes
  64.  
  65. CON_CURSOR_UP_CODE        EQU    65
  66. CON_CURSOR_DOWN_CODE        EQU    66
  67. CON_CURSOR_RIGHT_CODE        EQU    67
  68. CON_CURSOR_LEFT_CODE        EQU    68
  69. CON_CURSOR_SHIFT_UP_CODE    EQU    84
  70. CON_CURSOR_SHIFT_DOWN_CODE    EQU    83
  71. CON_F01_CODE            EQU    48
  72. CON_F02_CODE            EQU    49
  73. CON_F03_CODE            EQU    50
  74. CON_F04_CODE            EQU    51
  75. CON_F05_CODE            EQU    52
  76. CON_F06_CODE            EQU    53
  77. CON_F07_CODE            EQU    54
  78. CON_F08_CODE            EQU    55
  79. CON_F09_CODE            EQU    56
  80. CON_F10_CODE            EQU    57
  81. CON_HELP_CODE            EQU    63
  82. CON_SPACE_CODE            EQU    32
  83. CON_ESC_CODE            EQU    27
  84. CON_BRAKET_TO_RIGHT_CODE    EQU    91
  85. CON_CSI_CODE            EQU    155
  86. CON_TILDE_CODE            EQU    126
  87. CON_SHIFTED_FKEY_CODE        EQU    49
  88.  
  89. ; BackFlag defines
  90.  
  91. TIMEOUT                EQU    -3
  92. NO_CARRIER            EQU    -4
  93. DOOR_TIMEOUT            EQU    -5
  94. GOODBYE                EQU    -7
  95. FAME_DROP_DTR            EQU    -1    ; whatlogon phases
  96. FAME_AWAIT_CALL            EQU    0    ;
  97. FAME_SYSOPLOGIN            EQU    1    ;
  98. FAME_LOCALLOGIN            EQU    2    ;
  99. FAME_MODEMLOGIN            EQU    3    ;
  100. FAME_REMOTELOGIN        EQU    4    ;
  101.  
  102. FAME_AWAITCONNECT        EQU    5    ; whereiam phases  ;
  103. FAME_LOGGINGON            EQU    6
  104. FAME_IDLE            EQU    7    ;
  105. FAME_DOWNLOAD            EQU    8    ;
  106. FAME_UPLOAD            EQU    9    ;
  107. FAME_READMAIL            EQU    10    ;
  108. FAME_WRITEMAIL            EQU    11    ;
  109. FAME_USERSTATUS            EQU    12    ;
  110. FAME_ACCOUNTEDIT        EQU    13    ;
  111. FAME_ZOOM            EQU    14
  112. FAME_FILELISTING        EQU    15    ;
  113. FAME_BULLETINS            EQU    16    ;
  114. FAME_VIEWFILES            EQU    17    ;
  115. FAME_LOGOFF            EQU    18    ;
  116. FAME_SHELL            EQU    19
  117. FAME_JOINCONF            EQU    20    ;
  118. FAME_SYSOPCHAT            EQU    21    ;
  119. FAME_NOTACTIVE            EQU    22
  120. FAME_REQCHAT            EQU    23
  121. FAME_CONNECT            EQU    24
  122. FAME_SCANMAIL            EQU    25    ;
  123. FAME_SCANFILES            EQU    26    ;
  124. FAME_SHUTDOWN            EQU    27
  125. FAME_MULTICHAT            EQU    28
  126. FAME_SUSPEND            EQU    29
  127. FAME_USERRESERVE        EQU    30
  128. FAME_FLAGEDIT            EQU    31    ;
  129. FAME_WAITFORKEY            EQU    32    ;
  130. FAME_SYSOPCOMENT        EQU    33    ;
  131. FAME_BBSHELP            EQU    34    ;
  132. FAME_NEWFILES            EQU    35    ;
  133. FAME_PAGESYSOP            EQU    36    ;
  134. FAME_TIME            EQU    37    ;
  135. FAME_CHANGESTATS        EQU    38    ;
  136. FAME_SEARCHFOR            EQU    39    ;
  137. FAME_VIEWEDCAL            EQU    40    ;
  138. FAME_VIEWEDUDL            EQU    41    ;
  139. FAME_VIEWEDDOL            EQU    42    ;
  140. FAME_EDITFILELST        EQU    43    ;
  141. FAME_EDITFILES            EQU    44    ;
  142. FAME_ADOSLIST            EQU    45    ;
  143. FAME_ADOSDIR            EQU    46    ;
  144. FAME_ADOSINFO            EQU    47    ;
  145. FAME_WHO            EQU    48
  146. FAME_OLM            EQU    49
  147. FAME_OLC            EQU    50
  148. FAME_OLD            EQU    51
  149. FAME_OLG            EQU    52
  150. FAME_OLS            EQU    53
  151. FAME_OLT            EQU    54
  152. FAME_VIEWSYSOP            EQU    55
  153. FAME_DOWNSYSOP            EQU    56
  154. FAME_MOVE            EQU    57
  155. FAME_NUKE            EQU    58
  156. FAME_NEWUSER            EQU    59    ;
  157. FAME_PWFAIL            EQU    60    ;
  158. FAME_ENDNODE            EQU    61
  159. FAME_STARTNODE            EQU    62
  160. FAME_4ONGO            EQU    63
  161. FAME_STAR            EQU    64
  162. FAME_LINE            EQU    65
  163. FAME_ON                EQU    66
  164. FAME_OFF            EQU    67
  165. FAME_NAME            EQU    68
  166. FAME_SYSFSTLGN            EQU    69    ;
  167. FAME_SYSLGN            EQU    70    ;
  168. FAME_LOCFSTLGN            EQU    71    ;
  169. FAME_LOCFSTRELGN        EQU    72    ;
  170. FAME_LOCLGN            EQU    73    ;
  171. FAME_REMFSTLGN            EQU    74    ;
  172. FAME_REMLGN            EQU    75    ;
  173. FAME_AUTOREJN            EQU    76    ;
  174. FAME_FREEDOWN            EQU    77
  175. FAME_FREEUP            EQU    78
  176. FAME_ULFAIL            EQU    79
  177. FAME_DLFAIL            EQU    80
  178. FAME_BIRTHDAY            EQU    81
  179. FAME_SYSPWFAIL            EQU    82    ;
  180. FAME_ULSTATS            EQU    83
  181. FAME_DLSTATS            EQU    84
  182. FAME_ULMOVED            EQU    85
  183. FAME_ENTEREALL            EQU    86    ;
  184. FAME_RELOGIN            EQU    87    ;
  185. FAME_SUSPEND_LOGON        EQU    88    ;
  186. FAME_EXTUSERED            EQU    89    ;
  187. FAME_EXTSYSTEMED        EQU    90    ;
  188. FAME_RESUME            EQU    91
  189. FAME_ICONIFY            EQU    92
  190. FAME_UNICONIFY            EQU    93
  191. FAME_PREPAREDOWNL        EQU    94    ;
  192. FAME_PREPAREUPL            EQU    95    ;
  193. FAME_SHUTDOWNOH            EQU    96
  194. FAME_SHUTDOWNUK            EQU    97
  195. FAME_SHUTDOWNUKOH        EQU    98
  196. FAME_DROPUSER            EQU    99
  197. FAME_NUPPWFAIL            EQU    100    ;
  198. FAME_LOSTCARRIER        EQU    101
  199. FAME_PARTUPLOAD            EQU    102
  200. FAME_VIEWTEXT            EQU    103
  201. FAME_REJOINCONF            EQU    104
  202. FAME_MULTINODEUS        EQU    105
  203. FAME_SCRIPT            EQU    106
  204.  
  205. DOORS                EQU    999    ;
  206.  
  207.  ; ServerCommands
  208.  
  209. SERVER_sYSTEM            EQU    2000
  210. SERVER_mISC            EQU    2002
  211. SERVER_pROTOCOL            EQU    2003
  212. SERVER_fAMEmODULES        EQU    2004
  213. SERVER_aCTIVITIES        EQU    2005
  214. SERVER_eRROR            EQU    2006
  215. SERVER_iNTERNdOORS        EQU    2007
  216. SERVER_lANGlOCALE        EQU    2008
  217. SERVER_sCREENS            EQU    2009
  218. SERVER_nODE            EQU    2010
  219. SERVER_sERIAL            EQU    2011
  220. SERVER_mODEM            EQU    2012
  221. SERVER_sCREEN            EQU    2013
  222. SERVER_cONF_dATA        EQU    2014
  223. SERVER_GetServerCnf        EQU    2015
  224.  
  225. SERVER_QuietNode        EQU    3000
  226. SERVER_APTR1            EQU    3001
  227. SERVER_APTR2            EQU    3002
  228. SERVER_LastConf            EQU    3101
  229. SERVER_ForeGround        EQU    3102
  230. SERVER_NodeIsReady        EQU    3103
  231. SERVER_ChatFlag            EQU    3104
  232. SERVER_DoorName            EQU    3105
  233. SERVER_NamePrompt        EQU    3106
  234. SERVER_InitModem        EQU    3107
  235. SERVER_TransferCPS        EQU    3108
  236. SERVER_ServerCommand        EQU    3109
  237. SERVER_NodeEnds            EQU    3110
  238. SERVER_NoShutDown        EQU    3111
  239. SERVER_NewAction        EQU    3112
  240. SERVER_Complete            EQU    3113
  241. SERVER_SerialStart        EQU    3114
  242. SERVER_SerialReady        EQU    3115
  243. SERVER_BatchStart        EQU    3116
  244. SERVER_BatchReady        EQU    3117
  245. SERVER_UserReserve        EQU    3118
  246. SERVER_SetColors        EQU    3119
  247. SERVER_OLC            EQU    3120
  248. SERVER_OLD            EQU    3121
  249. SERVER_OLG            EQU    3122
  250. SERVER_OLS            EQU    3123
  251. SERVER_OLT            EQU    3124
  252. SERVER_NewActionCPS        EQU    3125
  253.  
  254. SERVER_StartNode        EQU    4000
  255. SERVER_SetSignal        EQU    4001
  256.  
  257. SERVER_BetaRequest        EQU    9999
  258. SERVER_UpdateNodes        EQU    10000
  259. SERVER_StringToNode        EQU    10001
  260. SERVER_StartNodeCmd        EQU    10002
  261. SERVER_BeADoorOnNode        EQU    10003
  262. SERVER_OpenDoorPort        EQU    10004
  263. SERVER_CloseDoorPort        EQU    10005
  264. SERVER_DirStringToNd        EQU    10006
  265. SERVER_DirStringToNds        EQU    10007
  266. SERVER_NodeSpyStart        EQU    10008
  267. SERVER_NodeSpyEnd        EQU    10009
  268. SERVER_NodeSpyData        EQU    10010
  269. SERVER_LastAction        EQU    10011
  270. SERVER_FCheckResList        EQU    10012
  271. SERVER_FCheckFileReady        EQU    10013
  272.  
  273.  ; HydraCommands
  274.  
  275. FAMEHYDRA_OPENWINDOWS        EQU    1
  276. FAMEHYDRA_CLOSEWINDOWS        EQU    2
  277. FAMEHYDRA_ABORT            EQU    3
  278.  
  279.  ; Misc. defines
  280.  
  281. MILLION                EQU    1000000
  282.  
  283.  ; A handy signal macro.
  284.  
  285.  ; xpr opts Normaly unused! See: FAMECnf.ProtocolOptsBuffer
  286.  
  287. ZMDM_INIT            EQU    "TN,OS,B32,F0,E10,AY,DN,KY,SN,RN,P"
  288. ZMDM_INIT_RESUME        EQU    "TN,OR,B32,F0,E10,AY,DN,KY,SN,RN,P"
  289.  
  290. BLOCK_1KB            EQU    "M1024"
  291. BLOCK_2KB            EQU    "M2048"
  292. BLOCK_3KB            EQU    "M3072"
  293. BLOCK_4KB            EQU    "M4096"
  294. BLOCK_5KB            EQU    "M5120"
  295. BLOCK_6KB            EQU    "M6144"
  296. BLOCK_7KB            EQU    "M7168"
  297. BLOCK_8KB            EQU    "M8192"
  298.  
  299.  ; FileChecker process defines
  300.  
  301. FFCC_CHECKFILE            EQU    1
  302. FFCC_REQUESTINFOLIST        EQU    2
  303.  
  304. FFCD_OUTPUT            EQU    $01
  305.  
  306. FCSB_FILEPOSTED            EQU    $01
  307.  
  308. FFCP_RESULT_OK            EQU    RETURN_OK
  309. FFCP_RESULT_NO_INTUILIB        EQU    RETURN_FAIL + 1
  310. FFCP_RESULT_NO_FAMELIB        EQU    RETURN_FAIL + 2
  311. FFCP_RESULT_NO_FILEIDLIB    EQU    RETURN_FAIL + 3
  312. FFCP_RESULT_NO_NODEMSG        EQU    RETURN_FAIL + 4
  313. FFCP_RESULT_NO_REPLYPORT    EQU    RETURN_FAIL + 5
  314. FFCP_RESULT_NO_FIPATHSTR    EQU    RETURN_FAIL + 6
  315. FFCP_RESULT_NO_CUTFILESTR    EQU    RETURN_FAIL + 7
  316. FFCP_RESULT_NO_TEMPSTR        EQU    RETURN_FAIL + 8
  317. FFCP_RESULT_NO_FCHECKPORT    EQU    RETURN_FAIL + 9
  318. FFCP_RESULT_NO_DATASTRUCT    EQU    RETURN_FAIL + 10
  319.  
  320.  
  321. ; SystemEditor window direct defines (JUMP argument)
  322.  
  323. SYSED_WND_Main            EQU     0
  324. SYSED_WND_SystemDatas        EQU     1
  325. SYSED_WND_MoreSystemDatas    EQU     2
  326. SYSED_WND_ServerSettings    EQU     3
  327. SYSED_WND_NodeEdit        EQU     4
  328. SYSED_WND_SerModScr        EQU     5
  329. SYSED_WND_MoreNodeEdit        EQU     6
  330. SYSED_WND_Conferences        EQU     7
  331. SYSED_WND_AccessSecure        EQU     8
  332. SYSED_WND_Levels        EQU     9
  333. SYSED_WND_MoreLevels        EQU    10
  334. SYSED_WND_ConferenceAccess    EQU    11
  335. SYSED_WND_Presets        EQU    12
  336. SYSED_WND_Activities        EQU    13
  337. SYSED_WND_Doors            EQU    14
  338. SYSED_WND_rESERVED1        EQU    15
  339. SYSED_WND_rESERVED2        EQU    16
  340. SYSED_WND_InternalDoors        EQU    17
  341. SYSED_WND_ComputerTypes        EQU    18
  342. SYSED_WND_ModemTypes        EQU    19
  343. SYSED_WND_Screens        EQU    20
  344. SYSED_WND_FileCheckers        EQU    21
  345. SYSED_WND_TextLanguage        EQU    22
  346. SYSED_WND_uNuSED1        EQU    23
  347. SYSED_WND_FAMEModules        EQU    24
  348. SYSED_WND_ExternModules        EQU    25
  349. SYSED_WND_UserFileBase        EQU    26
  350. SYSED_WND_Protocols        EQU    27
  351. SYSED_WND_DoonError        EQU    28
  352. SYSED_WND_DoorPortNames        EQU    29
  353. SYSED_WND_uNuSED2        EQU    30
  354. SYSED_WND_uNuSED3        EQU    31
  355. SYSED_WND_About            EQU    32
  356.  
  357.  
  358.  ; xpr serial bits.
  359.  
  360. ST_PARTYON            EQU    $0001
  361. ST_PARTYODD            EQU    $0002
  362. ST_7WIRE            EQU    $0004
  363. ST_QBREAK            EQU    $0008
  364. ST_RADBOOGIE            EQU    $0010
  365. ST_SHARED            EQU    $0020
  366. ST_EOFMODE            EQU    $0040
  367. ST_XDISABLED            EQU    $0080
  368. ST_PARTYMARKON            EQU    $0100
  369. ST_PARTYMARK            EQU    $0200
  370. ST_2BITS            EQU    $0400
  371. ST_READ7            EQU    $0800
  372. ST_WRITE7            EQU    $1000
  373.  
  374.  ; UserFlag1 defines (UserData)
  375.  
  376. UD_SPY                EQU    $00000001
  377. UD_EXPERT            EQU    $00000002
  378. UD_NEWUSER            EQU    $00000004
  379. UD_MSGCLS            EQU    $00000008
  380. UD_FILECLS            EQU    $00000010
  381. UD_UFLAG            EQU    $00000020
  382. UD_DFLAG            EQU    $00000040
  383. UD_UFBASE            EQU    $00000080
  384. UD_HIDE                EQU    $00000100
  385. UD_MSGROOM            EQU    $00000200
  386. UD_STRED            EQU    $00000400
  387. UD_SCRPAUSE            EQU    $00000800
  388. UD_FSTGOODBYE            EQU    $00001000
  389. UD_VFLAG            EQU    $00002000
  390. UD_ZFLAG            EQU    $00004000
  391. UD_ASCIIMSG            EQU    $00008000
  392. UD_SWAPREDWHITE            EQU    $00010000
  393. UD_AUTOQUOTE            EQU    $00020000
  394. UD_KEEPREPLYPRIV        EQU    $00040000
  395. UD_KEEPREPLYSUBJECT        EQU    $00080000
  396. UD_FILECHECKPROCESS        EQU    $00100000
  397.  
  398.  ; UserFlag1 defines (ConfUserData)
  399.  
  400. UC_NEWMSG            EQU    $01
  401. UC_NEWFILES            EQU    $02
  402. UC_ZOOM                EQU    $04
  403. UC_USERCNFXS            EQU    $08
  404. UC_OBSOLETE            EQU    $10
  405. UC_USCNFDATA            EQU    $20
  406.  
  407.  ; NToNComFlag1 defines (UserData)
  408.  
  409. NTN_DEFAULT            EQU    $00000001
  410. NTN_BBSHELP            EQU    $00000002
  411. NTN_BULLETINS            EQU    $00000004
  412. NTN_CHANGESTATS            EQU    $00000008
  413. NTN_ENTEREALL            EQU    $00000010
  414. NTN_FILELISTING            EQU    $00000020
  415. NTN_FLAGEDIT            EQU    $00000040
  416. NTN_JOINCONF            EQU    $00000080
  417. NTN_LOGGINGON            EQU    $00000100
  418. NTN_MULTICHAT            EQU    $00000200
  419. NTN_NEWFILES            EQU    $00000400
  420. NTN_PREPAREDOWNL        EQU    $00000800
  421. NTN_PREPAREUPL            EQU    $00001000
  422. NTN_READMAIL            EQU    $00002000
  423. NTN_SCANFILES            EQU    $00004000
  424. NTN_SCANMAIL            EQU    $00008000
  425. NTN_SEARCHFOR            EQU    $00010000
  426. NTN_SHELL            EQU    $00020000
  427. NTN_SYSOPCHAT            EQU    $00040000
  428. NTN_SYSOPCOMENT            EQU    $00080000
  429. NTN_VIEWFILES            EQU    $00100000
  430. NTN_VIEWTEXT            EQU    $00200000
  431. NTN_WAITFORKEY            EQU    $00400000
  432. NTN_WHO                EQU    $00800000
  433. NTN_WRITEMAIL            EQU    $01000000
  434.  
  435.  ; FAMECfgFlag1 defines (FAME Config)
  436.  
  437. FAMECfg_AllowHistory        EQU    $00000001
  438. FAMECfg_NSTOGGLE        EQU    $00000002
  439. FAMECfg_CHATIS            EQU    $00000004
  440. FAMECfg_ASLIS            EQU    $00000008
  441. FAMECfg_RoOm            EQU    $00000010
  442. FAMECfg_KEY            EQU    $00000020
  443. FAMECfg_SER            EQU    $00000040
  444. FAMECfg_SERDRV            EQU    $00000080
  445. FAMECfg_USERIP            EQU    $00000100
  446. FAMECfg_ANSI            EQU    $00000200
  447. FAMECfg_ASCII            EQU    $00000400
  448. FAMECfg_QUIET            EQU    $00000800
  449. FAMECfg_SYSOPXS            EQU    $00001000
  450. FAMECfg_DOWNASL            EQU    $00002000
  451. FAMECfg_WASUDLOGBEFORE        EQU    $00004000
  452. FAMECfg_SysOpCanRead        EQU    $00008000
  453. FAMECfg_DisTimeout        EQU    $00010000
  454. FAMECfg_WF_StatCmd        EQU    $00020000
  455. FAMECfg_WF_IconifyCmd        EQU    $00040000
  456. FAMECfg_WF_Trans        EQU    $00080000
  457. FAMECfg_InitModem        EQU    $00100000
  458. FAMECfg_WF_DoorTool        EQU    $00200000
  459. FAMECfg_WF_Chat            EQU    $00400000
  460. FAMECfg_FreeFile        EQU    $00800000
  461. FAMECfg_OkToInt            EQU    $01000000
  462. FAMECfg_IconifyIs        EQU    $02000000
  463. FAMECfg_NodeSpyis        EQU    $04000000
  464. FAMECfg_FIRSTONHERE        EQU    $08000000
  465. FAMECfg_DoorUp            EQU    $10000000
  466. FAMECfg_RESUME            EQU    $20000000
  467. FAMECfg_GlobalDL        EQU    $40000000
  468. FAMECfg_CloseIt            EQU    $80000000
  469.  
  470.  ; FAMECfgFlag2 defines (FAME Config)
  471.  
  472. FAMECfg_SerInSetFlg        EQU    $00000001
  473. FAMECfg_SerOutSetFlg        EQU    $00000002
  474. FAMECfg_TransferAborted        EQU    $00000004
  475. FAMECfg_TransferError        EQU    $00000008
  476. FAMECfg_TransferFailed        EQU    $00000010
  477. FAMECfg_OkToScan        EQU    $00000020
  478. FAMECfg_DoNotAsk        EQU    $00000040
  479. FAMECfg_TransferIs        EQU    $00000080
  480. FAMECfg_WaitForXpr        EQU    $00000100
  481. FAMECfg_OffHook            EQU    $00000200
  482. FAMECfg_HydraIs            EQU    $00000400
  483. FAMECfg_HydraOpensWnds        EQU    $00000800
  484. FAMECfg_HydraWndsAreOpen    EQU    $00001000
  485. FAMECfg_HydraIconify        EQU    $00002000
  486. FAMECfg_HydraInvalidPort    EQU    $00004000
  487. FAMECfg_SerIn            EQU    $00008000
  488. FAMECfg_SerOut            EQU    $00010000
  489. FAMECfg_CHKLSTCHR        EQU    $00020000
  490. FAMECfg_NEWOPENED        EQU    $00040000
  491. FAMECfg_Suspend            EQU    $00080000
  492. FAMECfg_AbortIOPort        EQU    $00100000
  493. FAMECfg_SaveUFlgs        EQU    $00200000
  494. FAMECfg_HydraNoTglIcnfy        EQU    $00400000
  495.  
  496.  ; _SvMsgInBitFlg1 defines (MainPart internal)
  497.  
  498. SMIBF_SERVER_sYSTEM        EQU    $00000001
  499. SMIBF_SERVER_mISC        EQU    $00000002
  500. SMIBF_SERVER_pROTOCOL        EQU    $00000004
  501. SMIBF_SERVER_fAMEmODULES    EQU    $00000008
  502. SMIBF_SERVER_aCTIVITIES        EQU    $00000010
  503. SMIBF_SERVER_eRROR        EQU    $00000020
  504. SMIBF_SERVER_iNTERNdOORS    EQU    $00000040
  505. SMIBF_SERVER_cONF_dATA        EQU    $00000080
  506. SMIBF_SERVER_sCREENS        EQU    $00000100
  507. SMIBF_SERVER_nODE        EQU    $00000200
  508. SMIBF_SERVER_sERIAL        EQU    $00000400
  509. SMIBF_SERVER_mODEM        EQU    $00000800
  510. SMIBF_SERVER_sCREEN        EQU    $00001000
  511. SMIBF_SERVER_GetServerCnf    EQU    $00002000
  512. SMIBF_SERVER_SerialReady    EQU    $00004000
  513. SMIBF_SERVER_BatchReady        EQU    $00008000
  514. SMIBF_SERVER_FCheckResList    EQU    $00010000
  515. SMIBF_SERVER_FCheckFileReady    EQU    $00020000
  516.  
  517.  ; CoProzess Flag1 defines
  518.  
  519. COPR_ACTIVE            EQU    $01
  520.  
  521.  ; Hydra Data Flag defines
  522.  
  523. FAMEHDF_Upload            EQU    $01
  524. FAMEHDF_Download        EQU    $02
  525.  
  526.  ; FAMEDoorMsg FDM_BitFlag defines
  527.  
  528. FBF_OLMSAVAIL            EQU    $01
  529.  
  530.  ; FAMEDoorMsg FDM_InternalBit defines
  531.  
  532. FIBF_NODOORDROP            EQU    $01
  533.  
  534. ; FAMEInfoList fili_BitFlags defines
  535.  
  536. FILI_USERSAVELOCK        EQU    $01
  537.  
  538.  ; Header defines of FAME Datafiles
  539.  
  540. FAMEUNKN   EQU    0  ; Unknown FAME DataType
  541. FAMEBAUD   EQU    1  ; BaudTimes means in which time array a connect rate
  542.            ; is allowed. 2400 baud is allowed from x to y
  543. FAMEPROT   EQU    2  ; Transfer Protocols holds the settings for the
  544.            ; xpr.library and hydra
  545. FAMEMISC   EQU    3  ; Miscellaneous holds many different settings
  546. FAMESYST   EQU    4  ; System holds the settings for the whole BBS
  547.            ; These datas are global for all nodes.
  548. FAMESERV   EQU    5  ; Server holds the settings for the Server
  549. FAMECONF   EQU    6  ; Conference holds the settings for each conference
  550. FAMELEVL   EQU    7  ; Levels holds the settings allowed for a level
  551.            ; This gives a user access to different commands
  552.            ; and actions in the BBS
  553. FAMECOXS   EQU    8  ; Conference Access holds flags which shows the node
  554.            ; to which conferences the user has access
  555. FAMEPRES   EQU    9  ; Presets are different basic settings which can
  556.            ; easy set datas for a normaly newuser account.
  557. FAMEACTI   EQU    10 ; Activities holds different settings to note the
  558.            ; nodes what they should so, like which logtypes
  559.            ; should be written, because there are different
  560.            ; log types avail, like Callers.log and
  561.            ; "steady Callers.log".
  562. FAMEERRO   EQU    11 ; Errors holds info's which are needed by the nodes
  563.            ; to show what the node should do if an error
  564.            ; occurs.
  565. FAMEDOOR   EQU    12 ; Doors holds the settings for every single door.
  566.            ; Doortype, stack, priority and many more...
  567. FAMEINDO   EQU    13 ; Internal Doors holds the settings for internal
  568.            ; Doors of the BBS.
  569. FAMESCRS   EQU    14 ; Screens (Textfiles) holds different settings
  570.            ; for screentexts
  571. FAMENODE   EQU    15 ; Node holds the individual settings of every single
  572.            ; node
  573. FAMESERI   EQU    16 ; Serial (Node) holds the (serial).device settings
  574.            ; and that for every single node
  575. FAMEMODM   EQU    17 ; Modem (Node) holds the modem settings
  576.            ; and that for every single node
  577. FAMESCRE   EQU    18 ; Screen (Node) holds the screen/window settings
  578.            ; and that for every single node
  579. FAMEFCHK   EQU    19 ; FileCheckers holds the settings for every single
  580.            ; filechecker type like lha,zip,...
  581. FAMETXLA   EQU    20 ; Text language holds the settings for the
  582.            ; available textsuffix types, like .txt .ger
  583. FAMELALO   EQU    21 ; Language Locale holds the settings for the
  584.            ; different locale.library's
  585. FAMEDOCO   EQU    22 ; Door Config holds the settings for Doorconfig
  586.            ; modules. This are additional Doortools for Doors
  587.            ; which let the user configure settings for a Door
  588. FAMEFMMO   EQU    23 ; FAME Modules are settings like pathes for
  589.            ; FAME Modules like Server,MainPart,SystemEd,UserEd
  590. FAMECOTY   EQU    24 ; Computer Types holds the available Computertypes
  591.            ; listed to the user
  592. FAMEMOTY   EQU    25 ; Modem Types holds the available Modemtypes
  593.            ; listed to the user
  594. FAMEMAHE   EQU    26 ; MailHeader is the Headerfile for MsgBases
  595. FAMEMAST   EQU    27 ; MailStatus is the 2nd HeaderFile for MsgBases
  596.            ; which is needed for faster MsgBase Operations,
  597.            ; because it contains the number of the last written
  598.            ; message
  599. FAMEUSDA   EQU    28 ; User.data is the main userdata file
  600. FAMEUSKE   EQU    29 ; User.keys is the 2nd userdata file for faster
  601.            ; access
  602. FAMEUSCO   EQU    30 ; UserCnf.data is the additional userdata file
  603.            ; which is located for/in every conference
  604. FAMECOPR   EQU    31 ; xyz.dat located in Settings/CoProzesses/
  605.            ; to tell the Server which CoProzesses are avail
  606.            ; and their requests. This Data is a defined structure
  607.            ; for detail look out for: struct CoProzess in
  608.            ; GlobalBBSStructs.c
  609. FAMEPAMS   EQU    32 ; Msgheader and Message writen while a LossCarrier
  610.            ; happens
  611. FAMESCPT   EQU    33 ; FAME Sysop/System/User Scripts
  612.            ; Are all 3 script types like: Sysop scripts, are scripts,
  613.            ; maybe like doors, which user can decide if they want
  614.            ; them or not. System scripts are scripts like doors
  615.            ; (SYSCMD types) and they will be executed at different
  616.            ; places in the BBS. User scripts are self written
  617.            ; scripts from and for users, placed in an own directory
  618.            ; for each user.
  619. FAMEUSCA   EQU    34 ; User script commands allow
  620.            ; Is a datafile of bitflags which describes which
  621.            ; script commands are allowed in a user script and
  622.            ; which not. Also it holds additional datas to handle
  623.            ; all needed things for secure and so on.
  624.            ; This is an expansion structure of the original
  625.            ; user.data
  626. FAMESMSK   EQU    35 ; System script Mask
  627.            ; Is a datafile of bitflags which toggles every
  628.            ; system script at all their different places in the
  629.            ; BBS
  630. FAMEUSFB   EQU    36 ; User FileBase
  631.            ; Is a future used expansion structure of the original
  632.            ; user.data and includes all user datas for the own
  633.            ; user filearea like unix. A dir where user can do
  634.            ; waht they want with theri own files.. maybe only 4MB
  635.            ; for each user etc.
  636. FAMEUEXP   EQU    37 ; Is a future used expansion structure of the original
  637.            ; user.data and includes nothing until now
  638. FAMEUSBU   EQU    38 ; This datafield contains all the free definable user
  639.            ; buttons at the Server.
  640. FAMELOCK   EQU    39 ; MsgBases lock file.
  641.  
  642.    ENDC * FAME_FAMEDEFINE_I
  643.